﻿@{
    Layout = "~/Views/Shared/_LayoutEmpty.cshtml";
}
<div style="font-size: 16px;">该方案不存在，页面将在<span id="Timer" style="color: #b41005">4</span>秒后自动<a style="color: #b41005" href="/">跳转</a>到首页
</div>
<script type="text/javascript">
    $(function () {
        var i = 4;
        var timer = function () {
            $("#Timer").html(i--);
            if (i < 0) {
                window.location.href = "/";
                return;
            }
            setTimeout(function() {
                timer();
            },1000);
        };
        timer();
    })
</script>